import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'
import './styles/tech-theme.css'
import './styles/table-override.css'
import './styles/dark-theme-inputs.css'
import './styles/spacing-optimization.css'

// 禁用Vue DevTools
if (import.meta.env.PROD) {
  // @ts-ignore
  window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = undefined
}

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)

app.mount('#app')
